* lisp/window.el (replace-buffer-in-windows): Restore interactive spec.
authorChong Yidong <cyd@gnu.org>
Sun, 20 Nov 2011 06:37:46 +0000 (14:37 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 20 Nov 2011 06:37:46 +0000 (14:37 +0800)
(Probably inadvertently removed when converting to Lisp.)

lisp/ChangeLog
lisp/window.el

index 2f341395fe8d497801aba4a9a7b0901e9a18a1e4..6f7480807c56d0833e091740ea01ca97dc92393d 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-20  Chong Yidong  <cyd@gnu.org>
+
+       * window.el (replace-buffer-in-windows): Restore interactive spec.
+
 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * electric.el (electric-indent-mode): Fix last change (too optimistic).
index 477211672cfed1312b00ed932949394e7dd0ef4e..2885c3a5c707e0192667e2756dff7b1bf5a8280f 100644 (file)
@@ -2920,6 +2920,7 @@ window.
 
 This function removes the buffer denoted by BUFFER-OR-NAME from
 all window-local buffer lists."
+  (interactive "bBuffer to replace: ")
   (let ((buffer (window-normalize-buffer buffer-or-name)))
     (dolist (window (window-list-1 nil nil t))
       (if (eq (window-buffer window) buffer)